<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>{$head[title]}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta content="{$head[keywords]}" name="keywords" />
<meta content="{$head[description]}" name="description" />
<base href="{SITE_URL}" />
<link href="favicon.ico" rel="shortcut icon" />
<link href="{SKIN_PATH}skin/style.css" rel="stylesheet" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="{$head[title]}" href="/rss.php?rssid={$catid}" />
<script language="JavaScript" src="misc/config.js"></script>
<script language="JavaScript" src="misc/jquery.min.js"></script>
<script language="JavaScript" src="misc/common.js"></script>
<script language="JavaScript" src="misc/validator.js"></script>
</head>
<body> 


 



{template 'header.html'}


<style>
	.movie ul{
		height:auto; overflow:hidden;
	}
	.movie ul .item{
		border-bottom:#eee solid 1px;
		padding:0 0 20px 0;
		margin:20px 0 0 0;
		height:auto; overflow:hidden;
		width:49%; float:left; display:inline;
		height:130px;
	}
	.movie ul .item p{
		margin:0; padding:0;
	}
	.movie ul .item .thumb{
		float:left;
		display:inline;
	}
	.movie ul .item .thumb img{ /*width:150px; height:200px;*/
	}
	.movie ul .item .desc{
		width:180px;
		float:left; display:inline; margin:0 0 0 20px;
	}
</style>


<div class="container"> 
    <div class="main movie"> 
    		
            <h3 class="tit">电影分类</h3>
            <div class="inner ">
            	<strong>按类型</strong>： 
                <a href="#">全部</a> 
                <a href="#">动作</a> 
                <a href="#">科幻</a>  
                <a href="#">战争</a>  
                <a href="#">爱情</a>  
                <a href="#">喜剧</a>  
                <a href="#">剧情</a>  
                <a href="#">悬疑</a> 
                <a href="#">预告</a> 
                <a href="#">超高清</a> 
            </div>
   			
            <div class="head">电影列表</div>
			<ul>
          	
              {get sql="SELECT * FROM `table_movie_actor` WHERE  status in(99,2) ORDER BY updatetime DESC" rows="20" page="$page"}
              {php $keywords = explode(',',$r[keywords]);}   
              {php $actor = explode(',',$r[actor]);}   
                <li class="item"> 
                    <div class="thumb">
                        <a href="{url($r[url])}">
                         <img src="{php echo $r[thumb] ? thumb($r[thumb],72,'') : thumb('misc/nopic.gif',72,'')}"/>  
                        </a>
                    </div>
                    <div class="desc">
                    	<strong><a href="{url($r[url])}">{$r[title]}</a></strong>
                        
                        
                       <!--<p>时间：2012-3-21 0:29:00</p>-->
                       <div>{str_cut($r[description],45)}</div> 
                       
                       {if $keywords}
                        <!--<p>标签:
                            {loop $keywords $k $v}
                            <a href="{url("?module=movie&file=actor&action=tag&name=$v")}">{$v}</a>
                            {/loop}
                        </p>-->
                        {/if}
                       
                    </div>
                    
              </li>
              {/get}
            </ul>
            
            <div class="pagination">{$pages}</div>

    </div>
    
    <div class="aside"> 
        
        <div class="head">我要分享</div>
        <div class="inner">
        	<a href="{url("?module=$module&action=add")}">我要投稿</a>
        </div>
      
       <div class="mod">
            <div class="head"><span>会员列表</span> · · · · · ·(<a href="{url("?module=member&action=list")}">更多</a>)</div>
            <ul class="body users">
          <!--{get sql="select * from table_member where avatar <> '' order by userid ASC " rows="12"}-->
            <li>
             <a href="{url("?module=space&userid=$r[userid]")}" title="{$r[username]}"><img src="{avatar($r[userid])}" alt="{$r[username]}"  target="_blank" width="40" height="40"/></a>
             <!--<br/><a href="./index.php?module=space&file=fans&action=add&userid={$r[userid]}" class="add">关注TA</a>-->
             <!--<p><a href="{url("?module=space&userid=$r[userid]")}">{$r[username]}</a></p>-->
            </li>
          <!--{/get}-->
          </ul>
        </div>
      
          
        <div class="head">最新评论</div>
    	<ul>
          <!--{get sql="select commentid,content from table_comment order by addtime desc" rows="10"}-->
            <li><a href="#">{htmlspecialchars(trim($r[content]))}</a></li>
          <!--{/get}-->
          </ul>
          
    </div>
</div>


{template 'footer.html'}

